Biautomata for k-Piecewise Testable Languages
نویسندگان
چکیده
An effective characterization of piecewise testable languages was given by Simon in 1972. A difficult part of the proof is to show that if L has a J -trivial syntactic monoid M(L) then L is k-piecewise testable for a suitable k. By Simon’s original proof, an appropriate k could be taken as two times the maximal length of a chain of ideals in M(L). In this paper we improve this estimate of k using the concept of biautomaton: a kind of finite automaton which arbitrarily alternates between reading the input word from the left and from the right. We prove that an appropriate k could be taken as the length of the longest simple path in the canonical biautomaton of L. We also show that this bound is better than the known bounds which use the syntactic monoid of L.
منابع مشابه
On Biautomata
We initiate the theory and applications of biautomata. A biautomaton can read a word alternately from the left and from the right. We assign to each regular language L its canonical biautomaton. This structure plays, among all biautomata recognizing the language L, the same role as the minimal deterministic automaton has among all deterministic automata recognizing the language L. We expect tha...
متن کاملPiecewise Testable Languages and Nondeterministic Automata
A regular language is k-piecewise testable if it is a finite boolean combination of languages of the form Σa1Σ · · ·ΣanΣ, where ai ∈ Σ and 0 ≤ n ≤ k. Given a DFA A and k ≥ 0, it is an NLcomplete problem to decide whether the language L(A) is piecewise testable and, for k ≥ 4, it is coNP-complete to decide whether the language L(A) is k-piecewise testable. It is known that the depth of the minim...
متن کاملar X iv : 1 41 2 . 16 41 v 1 [ cs . F L ] 4 D ec 2 01 4 On k - piecewise testability ( preliminary report )
A language is k-piecewise testable if it is a finite boolean combination of languages of the form Σa1Σ · · ·ΣanΣ, where ai ∈ Σ and 0 ≤ n ≤ k. We investigate the problem, given a minimal DFA recognizing a piecewise testable language, what is the minimal k for which the language is k-piecewise testable? It was shown by Klı́ma and Polák that such a k is bounded by the depth of the minimal DFA. We f...
متن کاملSeparability by piecewise testable languages is PTime-complete
Piecewise testable languages form the first level of the Straubing-Thérien hierarchy. The membership problem for this level is decidable and testing if the language of a DFA is piecewise testable is NL-complete. The question has not yet been addressed for NFAs. We fill in this gap by showing that it is PSpace-complete. The main result is then the lower-bound complexity of separability of regula...
متن کاملLearning k-Testable and k-Piecewise Testable Languages from Positive Data
The families of locally testable (LT ) and piecewise testable (PWT ) languages have been deeply studied in formal language theory. They have in common that the role played by the segments of length k of their words in the first family is played in the second by their subwords (sequences of non necessarily consecutive symbols), also of length k. We propose algorithms that, given k > 0, identify ...
متن کامل